package com.passive.lock.mapper;

import com.passive.lock.model.vo.TDeviceLogVo;
import com.passive.lock.model.vo.TSysLogVo;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository("TDeviceLogMapperCustom")
public interface TDeviceLogMapperCustom {
	List<TDeviceLogVo> deviceLogList(@Param("beginTime") long beginTime, @Param("endTime") long endTime,
			@Param("groupid") String groupid, @Param("logType") String logType, @Param("username") String username,
			@Param("lockname") String lockname, @Param("keyname") String keyname, @Param("offset") Integer offset,
			@Param("limit") Integer limit);

	int deviceLogListCount(@Param("beginTime") long beginTime, @Param("endTime") long endTime,
			@Param("groupid") String groupid, @Param("logType") String logType, @Param("username") String username,
			@Param("lockname") String lockname, @Param("keyname") String keyname);
}